/*
 * @Description: 推广赚钱API接口
 * @Author: QianLong
 * @Date: 2019-07-07 19:06:52
 * @LastEditors    : QianLong
 * @LastEditTime   : 2023-12-19 14:39:07
 */
import http from '@/utils/http/axios'

export function getItemList(params) {
  return http.request({
    url: '/partner/get_info',
    method: 'GET',
    params
  })
}
export function getUserList(params) {
  return http.request({
    url: '/partner/getUserList',
    method: 'GET',
    params
  })
}
export function getTxList(params) {
  return http.request({
    url: '/partner/tx_list',
    method: 'GET',
    params
  })
}

export function editData(params) {
  return http.request(
    {
      url: '/partner/editSetting',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
export function cashoutInvite(params) {
  return http.request(
    {
      url: '/partner/cashoutInvite',
      method: 'POST',
      params
    },
    {
      isTransformRequestResult: false
    }
  )
}
